﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserStats.aspx.cs" Inherits="MusicmanWeb.ADMIN.UserStats" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>User details</title>
</head>
<body style="background-color:#eee; background-image:none;">
    <form id="form1" runat="server">

<div class="page">
    <div id="sidebar">
    </div>
    <div id="content" style="margin:10px;">
        <img src="ProfilePicture.axd" id="profilepicture" runat="server" class="profile-edit" onError="this.style.display = 'none';"/>
        <table style="width: 470px;">
            <tr>
              <td colspan="2">
                <hr />
              </td>
            </tr>    
            <tr>
                <th colspan="2">
                    User details
                </th>
            </tr>
            <tr>
                <th style="width: 120px;">
                    First name
                </th>
                <td>
                    <label id="firstnameLbl" runat="server" enableviewstate="false" />
                </td>
            </tr>
            <tr>
                <th>
                    Last name
                </th>
                <td>
                    <label id="lastnameLbl" runat="server" enableviewstate="false" />
                </td>
            </tr>
            <tr>
                <th>
                    Email address
                </th>
                <td>
                    <label id="emailLbl" runat="server" enableviewstate="false" />
                </td>
            </tr>
            <tr>
                <th>
                    Sex
                </th>
                <td>
                    <label id="sexLbl" runat="server" enableviewstate="false" />
                </td>
            </tr>
            <tr>
                <th style="width:120px;">
                    Receive mail
                </th>
                <td>
                    <label id="mailRqLbl" runat="server" enableviewstate="false" />
                </td>
            </tr>            
            <tr>
              <td colspan="2">
                <hr />
              </td>
            </tr>
            <tr>
                <th>
                    Status
                </th>
                <td>
                    <label id="statusLbl" runat="server" enableviewstate="false" />
                </td>
            </tr>
            <tr>
                <th>
                    Last logged date
                </th>
                <td>
                    <label id="lastLoggedLbl" runat="server" enableviewstate="false" />
                </td>
            </tr>
            <tr>
                <th>
                    Total web logs
                </th>
                <td>
                    <label id="totalWebLbl" runat="server" enableviewstate="false" />
                </td>
            </tr>
            <tr>
                <th>
                    Total client logs
                </th>
                <td>
                    <label id="totalClientLbl" runat="server" enableviewstate="false" />
                </td>
            </tr>
            <tr>
                <th>
                    Total downloads
                </th>
                <td>
                    <label id="totalDownloadsLbl" runat="server" enableviewstate="false" />
                </td>
            </tr>
            <tr>
                <th>
                    Total traffic
                </th>
                <td>
                    <label id="totalTrafficLbl" runat="server" enableviewstate="false" />
                </td>
            </tr>
            <tr>
              <td colspan="2">
                <hr />
              </td>
            </tr>
        </table>
        <br />
        <br />
        <a href="#" id="userhistorylink" runat="server" onclick="window.open('UserHistory.aspx', 'userhistory', 'width=500,height=440,menubar=no','breplace=yes').focus();" >download history</a> | 
        <asp:LinkButton ID="toggleEnabledLB" OnCommand="ToggleEnabled_Command" runat="server">enable</asp:LinkButton> | 
        <asp:LinkButton ID="deleteUserLB" runat="server" OnCommand="DeleteUser_Command" OnClientClick="return confirm('Are you sure you want to delete user?');">delete</asp:LinkButton> | 
        <a href="#" onclick="window.close();" >close</a>
    </div>    
    </div>
    </form>
</body>
</html>